package start;

import java.beans.PropertyEditorSupport;

public class CEditor extends PropertyEditorSupport {
    public CEditor(Object object) {
        super(object);
        System.out.println("CEditor create..");
    }

    public CEditor() {
        super();
        System.out.println("CEditor create..");
    }
    
    public void setAsText(String text) {
        System.out.println("CEditor setAsText("+text+")..");
        setValue(new C(text.toUpperCase()));
    }
}
